﻿/*********************************************************************/
/**消息提示配置
/*********************************************************************/
if(window._lang==null) window._lang = {datepicker:{}};

_lang.datepicker.dates = {
	daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
	daysMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
	days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
	months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
	monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
	meridiem: ["am", "pm"],  
    suffix: ["st", "nd", "rd", "th"],  
	today: "Today"
};

_lang.bootbox_locale = {
	OK: "OK",
	CANCEL: "Cancel",
	CONFIRM : "OK"
};


_lang.loadingmsg = "Data loading...";
_lang.confirmtoleave = "Are you sure to leave this page if there exist data modified?";
_lang.confirmToDelete = "Cannot be restored after deletion, are you sure to delete it?";
_lang.confirmToWait = "Request processing...";
_lang.messageTitle = "Prompt: ";
_lang.messageAddRole = "Add role ";
_lang.messageAlterRole = "Modify role ";
_lang.messageSuccessConfigure = "Configuration success!";
_lang.messageConfirmTitle = "Please confirm: ";
_lang.messageErrorTitle = "Error: ";
_lang.messageSuccess = "success";
_lang.messageFailed = "fail";
_lang.messageCongratulations = "Congratulations!";
_lang.messageSendRequest = "Request sent!";
_lang.messagePleaseLogin4Visit="Not logged in, please log in to visit.";

_lang.messageSuccessOperate="Operate success!";
_lang.messageSuccessToTop="Top success!";
_lang.messageSuccessNotTop="Cancel top success!";
_lang.messageSuccessToPublish="Publish success!";
_lang.messageSuccessNotPublish="Undo publish success!";
_lang.messageSuccessToRecommend="Recommend success!";
_lang.messageSuccessNotRecommend="Undo recommend success!";
_lang.messageSuccessEnable="Enable success!";
_lang.messageSuccessDisable="Disable success!";
_lang.messageSuccessGag="Gag success!";
_lang.messagePermissionToSpeak="Allow speech success!";
_lang.messageSuccessReset="Reset success!";
_lang.messageAuditPass="Audit through!";
_lang.messageSuccessPreservation="Save success!";
_lang.messageSuccessRegister="Successful registration!";
_lang.messageSuccessAdd = "Add success!";
_lang.messageSuccessDelete = "Delete success!";
_lang.messageSuccessAddCollect = 'Collect success!';
_lang.messageSuccessDeleteCollect = 'Delete collection success!';
_lang.messageSuccessAddLikeit = 'Praise success!';
_lang.messageSuccessDeleteLikeit = 'Delete praise success!';
_lang.messageSuccessAddWantgo = 'Add want-to succeed!';
_lang.messageSuccessDeleteWantgo = 'Delete want-to succeed!';
_lang.messageUploading="File is beeing uploaded....";

_lang.messageUploadPhoto ='Please upload pictures!';
_lang.messageAddStage ='Please add play stages!';
_lang.messageAddArea ='Please add the area and price of play stage!';

_lang.buttonDelete = "Delete";
_lang.buttonCancel = "Cancel";
_lang.buttonAdd = "Add";
_lang.buttonSave = "Save";
_lang.buttonSubmit = "Submit";
_lang.buttonTypeCollect = "Collect";
_lang.buttonTypeLikeit = "Praise";
_lang.buttonTypeWantgo = "Want-to";
_lang.reportDialogTitle = "Please fill in the reason";
_lang.reportDialogTitlePlaceholder = "Please fill in the reason";
_lang.reportDialogEmptyError = "The reason is required!";
_lang.reportDialogHasSendSuccess = "Send report successfully!";
_lang.whetherToContinueToOperate="Are you sure to do this operation?";
_lang.WhetherOrNotToPerformRestoreOperation="Do you want really to restore is?";
_lang.SuccessfulOperation="Operate success!";
_lang.UserNameAlreadyExists="User name already exists!";
_lang.MobilePhoneHasBeenAssociatedWithTheUser="Phone has been associated users!";
_lang.ThePhoneNumberHasBeenRegistered="The phone is registered!";
_lang.EmailHasAssociatedUser="E-mail has associated users!";
_lang.SuccessAlterPassword="The password has been modified successfully!";
_lang.SuccessAlterPasswordReLogin="Password set successfully, please login again.";
_lang.PromptVerifySuccessResetPassword="Verify success, please reset password.";
_lang.ConfirmSaveOrde="Are you sure to save the order?";

_lang.VerificationCodeTime="The verification code has been sent, please verify within 20 minutes.";
_lang.ReAcquisitionVerificationCode="Recapture the SMS code";
_lang.ReAcquisitionVerificationCodeTime=" seconds to recapture"
	
_lang.responseMessages = {
	"-1"	: "Invalid request!",
	"1"		: "Phone already exists!",
	"2"		: "Phone does not exist!",
	"3"		: "E-mail already exists!",
	"4"		: "E-mail does not exist!",
	"5"		: "User name already exists!",
	"6"		: "User name does not exist!",
	"7"		: "Phone verification code error!",
	"8"		: "Phone verification code not sent!",
	"9"		: "You have added it!",
	"10"	: "Form information incomplete!",
	"11"	: "Comment too often!",
	"110"	: "User name or password error!",
	"112"   : "用户不存在,请获取短信验证码！",
	"115"   : "密码或验证码错误！",
	"119"	: "You account not activated!",
	"120"	: "You account is restricted to login!",
	"400"	: "The object already exists！",
	"401"	: "Not logged!",
	"402"	: "The object is invalid!",
	"403"	: "You are not authorized to access!",
	"404"	: "The object does not exist!",
	"405"	: "Data not changed!",
	"406"	: "The initial password is not secure. Reset the password!",
	"407"	: "User information is not perfect, please complementary!",
	"800"	: "Under stock!",
	"801"	: "Your cart is empty!"
};
_lang.responseSmsMessages = {
	"error"	: "SMS send failure!",
	"-110"	: "The same phone number has been sent daily to reach 5!",
	"-120"	: "The same IP address has been sent daily to 10!",
	"-1"	: "User phone does not exist!",
	"-11"	: "This phone is disabled!",
	"-4"	: "The phone format is not incorrect!",
	"-6"	: "IP address is restricted!"
};